<html>
<head>
<meta http-equiv="Content-Language" content="en" />
<meta name="GENERATOR" content="Zend Studio" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>title</title>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#FF9966" vlink="#FF9966" alink="#FFCC99">
<a href="<?php echo BASEURL; ?>admin/category/new">Add</a>
<table><tr><th>Id</th><th>Category Name</th><th>Type</th><th>Operate</th></tr>
<?php if(!empty($this->cates))
{
	foreach ($this->cates as $cate)
	{
	?>
	<tr>
		<td><?php echo $cate["id"]; ?></td>
		<td><?php echo $cate["cate_name"];?></td>
		<td><?php echo $cate["is_category"]; ?></td>
		<td><a href="<?php echo BASEURL,'admin/category/edit/',$cate["id"]; ?>">Edit</a>&nbsp;<a href="<?php echo BASEURL, 'admin/category/delete/',$cate["id"];?>">Delete</a></td>
	</tr>
	<?php 
	}
}?>
</table>

</body>
</html>